<ion-header>

  <ion-navbar>
    <ion-title>金兰宝新闻</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list class="item-list">
    <ng-container *ngFor="let news of newList.voList">
      <ion-item (click)="getNews(news.code)">
        {{news.title}}
        <ion-note item-end class="color-gray">{{news.createTime | date: 'yyyy-MM-dd'}}</ion-note>
      </ion-item>
    </ng-container>
  </ion-list>

  <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
